package com.buddha.api.service.impl;

import com.buddha.api.entity.Brand;
import com.buddha.api.mapper.BrandMapper;
import com.buddha.api.service.IBrandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author mybatis-plus
 * @since 2023-07-06
 */
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand> implements IBrandService {

    @Resource
    BrandMapper brandMapper;


    public List<Brand> getPartBrand() {
        List<Brand> brandList = brandMapper.getPart();
        return brandList;
    }
}
